package com.hst.capacity.domain.model.entity.account;

import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "fa_franchisee_ic_account")//城际收支账户
public class IntercityAccountEntity extends BaseEntity {
  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idAccount;
  private String ownerId;
  private String account;
  private String accountName;
  private String category;
  private String nature;
  private Float balance;
  private Float withdrawDeposit;
  private Float income;
  private Float applyMoney;
  private Integer state;
  private String idFranchisee;

}
